<html> <head> <title>Module: ..\controls\djapplication</title> </head> <body bgcolor="#ffffff">
<p><i><a href="index.html">Table of Contents</a></i></p>
<table border="0" cellpadding="5" cellspacing="0" width="100%">
  <tr>
    <th rowspan="2" valign="top" align="left" width="10%" bgcolor="#88bbee"><font color="#000000">Module: ..\controls\djapplication</font> </th>
    <th bgcolor="#88bbee" width="90%" align="right"><font color="#000000">djapplication.py</font> </th>
  </tr>
  <tr>
  <td>
  
  <table border="0" cellpadding="5" cellspacing="0" width="100%">
<tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> methods&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">&nbsp;</font> </th>
    </tr>
    <tr>
      <td><a href="#__init__">__init__</a><br><a href="#beep">beep</a><br><a href="#bind_all">bind_all</a><br><a href="#cancelTimeout">cancelTimeout</a><br><a href="#get_clipboard">get_clipboard</a><br><a href="#layout">layout</a><br><a href="#menubar">menubar</a><br><a href="#quit">quit</a><br><a href="#run">run</a><br><a href="#setTimeout">setTimeout</a><br><a href="#set_clipboard">set_clipboard</a><br><a href="#set_onkey_callback">set_onkey_callback</a><br><a href="#_callback_shortcut_keys">_callback_shortcut_keys</a><br></td>
      </tr>
<tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="__init__"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">__init__&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>__init__( tkroot=None)</pre>
	
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="beep"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">beep&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>beep()</pre>
			Generate a sound (typically a short beep).
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="bind_all"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">bind_all&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>bind_all( *args)</pre>
			Create binding for entire application.
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="cancelTimeout"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">cancelTimeout&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>cancelTimeout( id)</pre>
			Cancel a timeout created by setTimeout
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="get_clipboard"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">get_clipboard&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>get_clipboard()</pre>
			Returns the contents of the clipboard, as a string. Returns None if the clipboard contents are not a string.
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="layout"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">layout&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>layout(): raise NotImplementedError, 'This method must be overridden'</pre>
	
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="menubar"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">menubar&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>menubar( window): return None</pre>
	
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="quit"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">quit&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>quit()</pre>
			Close the application. (exits the current event loop)
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="run"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">run&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>run()</pre>
			Run the application. Use .quit() to exit this loop.
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="setTimeout"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">setTimeout&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>setTimeout( n, fn,*args)</pre>
			Pause for at least n milliseconds, and then call fn.
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="set_clipboard"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">set_clipboard&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>set_clipboard( strText)</pre>
			Set the contents of the clipboard (with a string).
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="set_onkey_callback"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">set_onkey_callback&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>set_onkey_callback( d)</pre>
			Provide a dictionary mapping keys to callback functions. These bindings are application-wide.
        </font></td></tr><tr>
      <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="_callback_shortcut_keys"></a>&nbsp; </font> </th>
      <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">_callback_shortcut_keys&nbsp;</font> </th>
    </tr>
    <tr>
      <td><font color="#000088">
         <pre>_callback_shortcut_keys( strKey)</pre>
			Called when a shortcut key is pressed
        </font></td></tr></table>  </td>   </tr>
  
</table>
<hr>
<p><i><a href="index.html">Table of Contents</a></i></p>
<font size="-2"><i>This document was automatically generated on 2008-02-29 23:29:05.479000 by something that looks like HappyDoc but isn't really.</font>
</body> </html> 